.component-library-container {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.component-library-container .ant-collapse {
  border: none;
  background: transparent;
}
.component-library-container .ant-collapse-item {
  border: none !important;
  margin-bottom: 12px;
}
.component-library-container .ant-collapse-item .collapse-header {
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 8px;
  transition: all 0.2s;
}
.component-library-container .ant-collapse-item .ant-collapse-content {
  border: none;
  background: transparent;
}
.component-library-container .ant-collapse-item .ant-collapse-content-box {
  padding: 16px 0 !important;
}
.component-library-container .component-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 8px;
}
.component-library-container .collapse-arrow {
  transition: all 0.2s;
  transform: rotate(0deg);
}
.component-library-container .collapse-arrow.active {
  transform: rotate(180deg);
}
.component-library-container .component-button {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.component-library-container .component-button:hover {
  transform: translateY(-2px);
  border-color: #818cf8;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}
.component-library-container .component-button:hover::before {
  opacity: 1;
}
.component-library-container .component-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.2s;
}
.component-library-container .component-button .button-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}
.component-library-container .component-button .button-icon {
  color: #6366f1;
  font-size: 16px;
}
.component-library-container .component-button .button-text {
  color: #1e293b;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
